//
//  InsetTextField.m
//  ZJWR
//
//  Created by 付卫涛 on 14-9-1.
//  Copyright (c) 2014年 3TI. All rights reserved.
//

#import "InsetTextField.h"

@implementation InsetTextField

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}
- (CGRect)textRectForBounds:(CGRect)bounds {
    return CGRectInset( bounds , 10 , 0 );
}
- (CGRect)editingRectForBounds:(CGRect)bounds {
    return CGRectInset( bounds , 10 , 0 );
}

@end
